package cn.qn.enums;

/**
 * 短信模板枚举
 */
public enum SmsTemplatesEnum {
    AUTHENTICATION("SMS_171046445","sms_code_auth", "身份验证验证码"),
    LOGIN_CONFIRM("SMS_171046444", "sms_code_login","登录确认验证码"),
    LOGIN_ERROR("SMS_171046443", "sms_code_login_err","登录异常验证码"),
    USER_REGISTER("SMS_171046442", "sms_code_reg","用户注册验证码"),
    RESET_PASSWORD("SMS_171046441", "sms_code_password","修改密码验证码"),
    USER_INFO_EDIT("SMS_171046440", "sms_code_edit","信息变更验证码")
    ;

    /**
     * 模板编号
     */
    private String code;

    /**
     * 短信验证码reids存储前缀
     */
    private String prefix;
    /**
     * 模板名称
     */
    private String name;

     SmsTemplatesEnum(String code,String prefix, String name) {
        this.code = code;
        this.prefix=prefix;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getPrefix() {
        return prefix;
    }
}
